package com.laoye.dto;

import com.laoye.bean.Address;
import com.laoye.bean.Product_Order;
import com.laoye.bean.User;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrderDetail implements Serializable {
    private Integer id;
    private Integer user_id;
    private Integer addr_id;
    private String order_no;
    private Byte pay_type;
    private Double total_amount;
    private Byte status;
    private LocalDateTime create_time;
    private LocalDateTime pay_time;
    private LocalDateTime delivery_time;
    private Integer prod_id;
    private List<Product_Order> products;
    private Address address;
    private User user;
}
